package com.ruoyi.mall.common.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 回复对象 dts_reply
 *
 * @author ruoyi
 * @date 2025-03-13
 */
public class DtsReply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 评论表的评论id */
    @Excel(name = "评论表的评论id")
    private Long commentId;

    /** 管理员表的管理员id */
    @Excel(name = "管理员表的管理员id")
    private Long adminId;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String replyContent;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Integer deteled;

    private DtsAdmin dtsAdmin;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCommentId(Long commentId)
    {
        this.commentId = commentId;
    }

    public Long getCommentId()
    {
        return commentId;
    }
    public void setAdminId(Long adminId)
    {
        this.adminId = adminId;
    }

    public Long getAdminId()
    {
        return adminId;
    }
    public void setReplyContent(String replyContent)
    {
        this.replyContent = replyContent;
    }

    public String getReplyContent()
    {
        return replyContent;
    }
    public void setAddTime(Date addTime)
    {
        this.addTime = addTime;
    }

    public Date getAddTime()
    {
        return addTime;
    }
    public void setDeteled(Integer deteled)
    {
        this.deteled = deteled;
    }

    public Integer getDeteled()
    {
        return deteled;
    }

    public DtsAdmin getDtsAdmin() {
        return dtsAdmin;
    }

    public void setDtsAdmin(DtsAdmin dtsAdmin) {
        this.dtsAdmin = dtsAdmin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commentId", getCommentId())
            .append("adminId", getAdminId())
            .append("replyContent", getReplyContent())
            .append("addTime", getAddTime())
            .append("updateTime", getUpdateTime())
            .append("deteled", getDeteled())
            .toString();
    }
}
